package com.work.demo.kfc;

/**
 * @ClassName : KFCWaiter
 * @Description : 服务员(建造者模式)
 * @Author : LinYa
 * @Date: 2021/11/5  14:30
 */
public class KFCWaiter {


	private MealBuilder mb;

	public Meal construct() {
		mb.buildDrink();
		mb.buildFood();
		return mb.getMeal();
	}

	public void setMb(MealBuilder mb) {
		this.mb = mb;
	}
}
